]> dgit.raspbian.org Git - gnome-shell.git/commit
swipeTracker: Flip pan gesture velocity in RTL locales
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 20 Nov 2025 14:51:23 +0000 (15:51 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 20 Nov 2025 14:51:23 +0000 (15:51 +0100)
commit799a842d3a11b9d0df0e69d2d6a07ce66f926ba2
tree2128757e43cee0248f6ab8b7492a0645f76788f1
parent8e29babca8adc677fcd5bc8457f497dd849ae884
swipeTracker: Flip pan gesture velocity in RTL locales

Like the gesture delta, the final velocity needs to be flipped in
RTL locales, otherwise we end up cancelling out the gesture progress.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3967>
js/ui/swipeTracker.js